import QtQuick 1.1
import com.nokia.meego 1.0
import QtQuick 1.0

Dialog {
    id: root
    property alias text: text.text    

    title: Text {
        id: titleText
        anchors.horizontalCenter: parent.horizontalCenter
        font.pointSize: 18
        color: "white"
        text: qsTr("Error occured");
    }

    content: Text{
        id:text
        font.pointSize: 14
        anchors.horizontalCenter: parent.horizontalCenter
        color: "white"
    }

    buttons: ButtonRow{
        style: ButtonStyle{}
        anchors.horizontalCenter: parent.horizontalCenter
        Button{text:qsTr("Close"); onClicked: root.accept();}
    }
}
